package com.hainiu.cat;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.CommandLineRunner;

/**
 * create by biji.zhao on 2021/5/22
 */
public class InitApplication implements ApplicationRunner, CommandLineRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("================ApplicationRunner==================");
    }

    @Override
    public void run(String... args) throws Exception {
        System.out.println("===============CommandLineRunner===================");
    }
}
